Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hard-coded context paths from tests #1803

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

labkey-tchad
Copy link
Member

Rationale

http-api.xml has some hard-coded context paths (/labkey), which causes tests to fail when running against embedded tomcat.
Also, many tests are using old style URLs (controller/containerPath/action.api); modernizing some of these (containerPath/controller-action.api).

Related Pull Requests

  • N/A

Changes

  • Remove hard-coded context paths from tests
  • Update ApiTestHelper to inject correct context path
  • Remove leading slash from project name in GetReadableContainersAPITest

@labkey-tchad labkey-tchad merged commit da7c11c into develop Jan 23, 2024
2 checks passed
@labkey-tchad labkey-tchad deleted the fb_embedded_moreTestFixes branch January 23, 2024 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants